package monsmon.game.tmlt;

import monsmon.game.*;
import java.util.*;

public class GlobalDat{

	public Map<String, String> globvar = new HashMap<String, String>();
	public Map<String, MoveT> moves = new HashMap<String, MoveT>();
	public Map<String, MonsT> monst = new HashMap<String, MonsT>();
	public Map<String, EntT> gent = new HashMap<String, EntT>();
	public Map<Character, TileT> talias = new HashMap<Character, TileT>();
	public Map<String, TileT> tiles = new HashMap<String, TileT>();

	{
		TileT.add_defaults(talias, tiles);
	}

	public void add_tile(TileT t){
		tiles.put(t.name, t);
		talias.put(t.c, t);
	}

	public void add_ent(EntT e){
		gent.put(e.get_name(), e);
	}

}
